package br.uece.laconi.tac;

import java.util.logging.Logger;

import se.sics.tac.aw.Bid;

public class AgentEffector {
	public Agent agent = null;	
	public Logger log = null;
	
	public AgentEffector(Agent agent) {
		this.agent = agent;
		log = Logger.getLogger(agent.getClass().getName());
	}
	
	public void submitBid(Bid bid) {
		agent.getTACAgent().submitBid(bid);
	}
	
	public void replaceBid(Bid oldBid, Bid bid) {
		agent.getTACAgent().replaceBid(oldBid, bid);
	}
	
	public void setAllocation(int auction, int alloc) {
		agent.getTACAgent().setAllocation(auction, alloc);
	}
}
